<?php

declare (strict_types = 1);

namespace own\traits;

trait MemberTrait
{
    /**
     * 登录用户信息
     */
    protected function auth(): object
    {
        return request()->auth;
    }
    /**
     * 登录用户id
     */
    protected function uid(): int
    {
        return request()->uid;
    }
}